import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
import uview from 'uview-ui'
import store from './store/index.js'

// 注册全局组件
// import UploadImage from './func/pages/Processing/components/UploadImage/index'
// Vue.component("UploadImage", UploadImage)

const app = new Vue({
  ...App,
  store,
})
app.$mount()
Vue.use(uview)
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif